Finds SearchPattern in Target, Replaces the contents of SearchPattern with ReplacementPattern. Returns the resulting string.
Syntax |
|---|
|
result = RegEx.Replace( [TargetString], [SearchStartPosition] ) |
Parameters |
|
|---|---|
|
TargetString |
String (Optional) |
|
SearchStartPosition |
Integer (Optional) |
Return Value |
|
|---|---|
|
Result |
|
Notes
Replace can take the optional parameters shown at left. Returns a String.